package com.ruoyi.project.mgr.adjust.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 调课申请对象 mgr_adjust_apply
 *
 * @author .
 * @date 2020-02-22
 */
public class MgrAdjustApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    private Long arrangeId;

    private Long afterArrangeId;

    /** 申请人 */
    private Long teacherId;

    /** 教师 */
    private String teacherName;

    /** 调整后教师 */
    private Long nowTeacherId;

    /** 调整后教师 */
    private String nowTeacherName;

    /** 教室编号 */
    private String roomCode;

    /** 调整后教室编号 */
    private String nowRommCode;

    /** 课程时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date courseDate;

    /** 调整后课程时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nowCourseDate;

    /** 课程 */
    private String courseName;

    /** null */
    private String nowCourseName;

    /** 时间段 */
    private Integer timeSlot;

    /** 调整后时间段 */
    private Integer nowTimeSlot;

    /** 处理状态(0未处理，1已处理) */
    private Integer operateStatus;

    /** 处理结果(0同意1拒绝) */
    private Integer operateResult;

    /** 拒绝理由 */
    private String reason;

    /** 发起时间 */
    private Date initiateTime;

    /** 类型(0换课，1调课) */
    private String type;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public Long getArrangeId() {
        return arrangeId;
    }

    public void setArrangeId(Long arrangeId) {
        this.arrangeId = arrangeId;
    }

    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName)
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName()
    {
        return teacherName;
    }
    public void setNowTeacherId(Long nowTeacherId)
    {
        this.nowTeacherId = nowTeacherId;
    }

    public Long getNowTeacherId()
    {
        return nowTeacherId;
    }
    public void setNowTeacherName(String nowTeacherName)
    {
        this.nowTeacherName = nowTeacherName;
    }

    public String getNowTeacherName()
    {
        return nowTeacherName;
    }
    public void setRoomCode(String roomCode)
    {
        this.roomCode = roomCode;
    }

    public String getRoomCode()
    {
        return roomCode;
    }
    public void setNowRommCode(String nowRommCode)
    {
        this.nowRommCode = nowRommCode;
    }

    public String getNowRommCode()
    {
        return nowRommCode;
    }
    public void setCourseDate(Date courseDate)
    {
        this.courseDate = courseDate;
    }

    public Date getCourseDate()
    {
        return courseDate;
    }
    public void setNowCourseDate(Date nowCourseDate)
    {
        this.nowCourseDate = nowCourseDate;
    }

    public Date getNowCourseDate()
    {
        return nowCourseDate;
    }
    public void setCourseName(String courseName)
    {
        this.courseName = courseName;
    }

    public String getCourseName()
    {
        return courseName;
    }
    public void setNowCourseName(String nowCourseName)
    {
        this.nowCourseName = nowCourseName;
    }

    public String getNowCourseName()
    {
        return nowCourseName;
    }

    public Integer getTimeSlot() {
        return timeSlot;
    }

    public void setTimeSlot(Integer timeSlot) {
        this.timeSlot = timeSlot;
    }

    public Integer getNowTimeSlot() {
        return nowTimeSlot;
    }

    public void setNowTimeSlot(Integer nowTimeSlot) {
        this.nowTimeSlot = nowTimeSlot;
    }

    public void setOperateStatus(Integer operateStatus)
    {
        this.operateStatus = operateStatus;
    }

    public Integer getOperateStatus()
    {
        return operateStatus;
    }
    public void setOperateResult(Integer operateResult)
    {
        this.operateResult = operateResult;
    }

    public Integer getOperateResult()
    {
        return operateResult;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }
    public void setInitiateTime(Date initiateTime)
    {
        this.initiateTime = initiateTime;
    }

    public Date getInitiateTime()
    {
        return initiateTime;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public Long getAfterArrangeId() {
        return afterArrangeId;
    }

    public void setAfterArrangeId(Long afterArrangeId) {
        this.afterArrangeId = afterArrangeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("teacherId", getTeacherId())
                .append("teacherName", getTeacherName())
                .append("nowTeacherId", getNowTeacherId())
                .append("nowTeacherName", getNowTeacherName())
                .append("roomCode", getRoomCode())
                .append("nowRommCode", getNowRommCode())
                .append("courseDate", getCourseDate())
                .append("nowCourseDate", getNowCourseDate())
                .append("courseName", getCourseName())
                .append("nowCourseName", getNowCourseName())
                .append("timeSlot", getTimeSlot())
                .append("nowTimeSlot", getNowTimeSlot())
                .append("operateStatus", getOperateStatus())
                .append("operateResult", getOperateResult())
                .append("reason", getReason())
                .append("initiateTime", getInitiateTime())
                .append("type", getType())
                .toString();
    }
}